package database;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Niels
 * 
 */
//		User class
public class User {

	private String email;
	private String name;
	private String password;

	private List<Account> accounts;

	/**
	 * @param email
	 * @param name
	 * @param password
	 */
	public User(String email, String name, String password) {

		accounts = new ArrayList<Account>();
		this.email = email;
		this.name = name;
		this.password = password;

	}

	/**
	 * @return
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * @param email
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * @return
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * @param password
	 */
	public void setPassword(String password) {
		this.password = password;
	}
}